package com.bank.backend.boot.base.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 人工审核
 * @TableName audit
 */
@TableName(value ="audit")
@Data
public class Audit implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 银行人员id
     */
    @TableField(value = "buid")
    private Long buid;

    /**
     * 交易id
     */
    @TableField(value = "tid")
    private Long tid;

    /**
     * 模型识别率
     */
    @TableField(value = "probability")
    private Double probability;

    /**
     * 结果0-流程中,1-欺诈,2-不是欺诈
     */
    @TableField(value = "result")
    private Integer result;

    /**
     * 审核原因
     */
    @TableField(value = "description")
    private String description;

    /**
     * 审核结束时间
     */
    @TableField(value = "finish_time")
    private Date finishTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}